<?php
/* @var $this TeacherController */
/* @var $model Teacher */

$this->breadcrumbs=array(
	'教学团队管理'=>array('admin'),
	$model->teacher_name,
);

$this->menu=array(
                    array('label'=>'返回教学团队管理', 'url'=>array('admin')),
                    array('label'=>'任课管理', 'url'=>array('manageCourse', 'id'=>$model->teacher_id)),
	array('label'=>'创建新教师资料', 'url'=>array('create')),
	array('label'=>'更新当前教师资料', 'url'=>array('update', 'id'=>$model->teacher_id)),
	array('label'=>'删除当前教师资料', 'url'=>'#', 'linkOptions'=>array('submit'=>array('delete','id'=>$model->teacher_id),'confirm'=>'Are you sure you want to delete this item?')),
);
?>

<h1>查看教师资料 # <?php echo $model->teacher_name; ?></h1>

<?php $this->widget('zii.widgets.CDetailView', array(
	'data'=>$model,
	'attributes'=>array(
		'teacher_id',
		'user.user_name',
		'teacher_name',
		'sex',
		'birthday',
		'nation',
		'technical_position',
		'degree',
		'graduated',
		'address',
		'zip_code',
		'tel',
		'brief',
		'research_experience',
		'research_achievement',
		'display_level',
		'create_date',
                                           array(
                                                   'name' => '开设课程',
                                                   'value' => Teacher::getCourse($model->courses),
                                                   'type' => 'raw',
                                           ),
	),
)); ?>
